create_empty_msr_matrix Function

public function create_empty_msr_matrix(m, n, nnz, err) result(rst)

Creates an empty MSR matrix.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: m

The number of rows in the matrix.

integer(kind=int32), intent(in) :: n

The number of columns in the matrix.

integer(kind=int32), intent(in) :: nnz

The number of non-zero elements in the matrix.

class(errors), intent(inout), optional, target :: err

The error object to be updated.

Return Value type(msr_matrix)

The MSR matrix.